package com.stylefeng.guns.modular.area.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liqi
 * @since 2017-11-16
 */
@TableName("BDAP_AREA_TYPE")
public class BdapAreaType extends Model<BdapAreaType> {

    private static final long serialVersionUID = 1L;

    /**
     * 类型
     */
	@TableField("TYPE")
	private String type;
    /**
     * id
     */
	@TableField("ID")
	private Long id;


	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "BdapAreaType{" +
			"type=" + type +
			", id=" + id +
			"}";
	}
}
